public class Question {
    public static void main(String[] args) {
        //abc + cba = 1333
        // 100a + 10b + c + 100c + 10b + a = 1333
        // 101a + 20b + 101c = 1333
        // 1313 + 20 = 1333

        for(int i = 4;i < 10;i++){
            System.out.println("a:" + i + "b:" + 1 + "c:" +(13-i));
        }

        for (int i = 100; i < 1000; i++) {
            int abc = i;
            int a = abc / 100;
            abc %= 100;
            int b = abc / 10;
            int c  = abc % 10;
            if(i + c * 100 + b * 10 + a == 1333){
                System.out.println("a:" + a + ",b:" + b + ",c:" + c);
            }

        }
    }
}
